// router.ts
const routes = [
    {
      path: '/cart',
      component: () => import('./views/Cart.vue'),
      meta: { 
        activeMenu: true, // 标识激活菜单
        title: '购物车'
      }
    },
    // 其他路由需同步配置
  ]